package com.young.financial.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UrlConstants {
    /**
     * 积分代付查询
     */
    public static String INTEGRAL_PAYMENT_QUERY_URL;
    /**
     * 获取余额平台accessToken地址
     */
    public static String BALANCE_ACCESSTOKEN_URL;

    /**
     * 获取微信余额支付地址
     */
    public static String WECHAT_BALANCEPAY_URL;
    /**
     * 获取微信余额代付地址
     */
    public static String WECHAT_BALANCEAGENCY_URL;
    /**
     * 获取微信余额退款地址
     */
    public static String WECHAT_BALANCEREFUND_URL;
    /**
     * 获取积分退款地址
     */
    public static String INTEGRAL_REFOUND_URL;
    /**
     * 获取余额支付主动查询
     */
    public static String WECHAT_BALANCEPAYQUERY_URL;
    /**
     * 积分支付
     */
    public static String INTEGRALPAY_URL;
    /**
     * 积分异步通知
     */
    public static String INTEGRAL_ASYN_URL;
    /**
     *积分查询
     */
    public static String INTEGRAL_QUERY_URL;

    /**
     * 积分代付
     * @return
     */

    public static String INTEGRAL_PAYMENT_URL;

    /**
     * 积分代付查询
     * @return
     */
    public static String BALANCE_PAYMENT_QUERY_URL;

    /**
     * 银盛微信支付
     * @return
     */
    public static String YS_WECHAT_PAY_URL;

    public  String getYsWechatPayUrl() {
        return YS_WECHAT_PAY_URL;
    }
    @Value("${url.ys_wechat_pay_url}")
    public  void setYsWechatPayUrl(String ysWechatPayUrl) {
        YS_WECHAT_PAY_URL = ysWechatPayUrl;
    }

    public  String getBalancePaymentQueryUrl() {
        return BALANCE_PAYMENT_QUERY_URL;
    }
    @Value("${url.balance_payment_query_url}")
    public  void setBalancePaymentQueryUrl(String balancePaymentQueryUrl) {
        BALANCE_PAYMENT_QUERY_URL = balancePaymentQueryUrl;
    }

    public  String getIntegralPaymentQueryUrl() {
        return INTEGRAL_PAYMENT_QUERY_URL;
    }
    @Value("${url.integral_payment_query_url}")
    public  void setIntegralPaymentQueryUrl(String integralPaymentQueryUrl) {
        INTEGRAL_PAYMENT_QUERY_URL = integralPaymentQueryUrl;
    }

    public  String getIntegralpayUrl() {
        return INTEGRALPAY_URL;
    }
    @Value("${url.integralpay_url}")
    public  void setIntegralpayUrl(String integralpayUrl) {
        INTEGRALPAY_URL = integralpayUrl;
    }

    public  String getIntegralQueryUrl() {
        return INTEGRAL_QUERY_URL;
    }
    @Value("${url.integral_query_url}")
    public  void setIntegralQueryUrl(String integralQueryUrl) {
        INTEGRAL_QUERY_URL = integralQueryUrl;
    }

    public  String getIntegralAsynUrl() {
        return INTEGRAL_ASYN_URL;
    }

    public  String getIntegralRefoundUrl() {
        return INTEGRAL_REFOUND_URL;
    }
    @Value("${url.integral_refound_url}")
    public  void setIntegralRefoundUrl(String integralRefoundUrl) {
        INTEGRAL_REFOUND_URL = integralRefoundUrl;
    }

    @Value("${url.integral_asyn_url}")
    public  void setIntegralAsynUrl(String integralAsynUrl) {
        INTEGRAL_ASYN_URL = integralAsynUrl;
    }

    public  String getIntegralPaymentUrl() {
        return INTEGRAL_PAYMENT_URL;
    }
    @Value("${url.integral_payment_url}")
    public  void setIntegralPaymentUrl(String integralPaymentUrl) {
        INTEGRAL_PAYMENT_URL = integralPaymentUrl;
    }

    public  String getWechatBalancepayqueryUrl() {
        return WECHAT_BALANCEPAYQUERY_URL;
    }
    @Value("${url.wechat_balancepayquery_url}")
    public  void setWechatBalancepayqueryUrl(String wechatBalancepayqueryUrl) {
        WECHAT_BALANCEPAYQUERY_URL = wechatBalancepayqueryUrl;
    }

    public  String getBalanceAccesstokenUrl() {
        return BALANCE_ACCESSTOKEN_URL;
    }
    @Value("${url.balance_accesstoken_url}")
    public  void setBalanceAccesstokenUrl(String balanceAccesstokenUrl) {
        BALANCE_ACCESSTOKEN_URL = balanceAccesstokenUrl;
    }

    public  String getWechatBalancepayUrl() {
        return WECHAT_BALANCEPAY_URL;
    }
    @Value("${url.wechat_balancepay_url}")
    public  void setWechatBalancepayUrl(String wechatBalancepayUrl) {
        WECHAT_BALANCEPAY_URL = wechatBalancepayUrl;
    }

    public  String getWechatBalanceagencyUrl() {
        return WECHAT_BALANCEAGENCY_URL;
    }
    @Value("${url.wechat_balanceagency_url}")
    public  void setWechatBalanceagencyUrl(String wechatBalanceagencyUrl) {
        WECHAT_BALANCEAGENCY_URL = wechatBalanceagencyUrl;
    }

    public  String getWechatBalancerefundUrl() {
        return WECHAT_BALANCEREFUND_URL;
    }
    @Value("${url.wechat_balancerefund_url}")
    public  void setWechatBalancerefundUrl(String wechatBalancerefundUrl) {
        WECHAT_BALANCEREFUND_URL = wechatBalancerefundUrl;
    }
}